<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./js/phaser.min.js"></script>
    <script src="./js/data.js"></script>
    <script src="./js/zip.js"></script>
    <script src="./exit.js"></script>
    <style>
      *{
        margin: 0;
        padding: 0;
        list-style-type: none;
      }
     
      #message {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 900;
    
}
body {
            overflow: hidden;
        }

        /* 输入框样式 */
        #input {
            position: fixed;
            display: none;
            font-size: 1.5rem;
            padding: 5px;
            top: 47%;
            left: 50%;
            width: 5rem;
            height: 2rem;
            transform: translate(-50%, -50%) scale(1);

        }

#message.show {
    opacity: 1;
}
/* 模态框背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* 模态框内容 */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    text-align: center;
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 确定按钮样式 */
.modal-content button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.modal-content button:hover {
    background-color: #0056b3;
}
#acticle{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
}
#bg{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("./img/bg1.png");
    background-size: cover;
    background-position: right top;
    z-index: -888;
    transition: background-image 1s ease;
}
#m{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: -887;
}
#qiehuan{
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    width: 3vw;
    height: 3vw;
    background-size: cover;
    background-position: center;
    background-image: url("./img/qiebg.png");
}
    </style>

</head>
<body>
  <div id="bg"></div>
  <div id="m"></div>
  <div id="qiehuan">

  </div>
  <div id="message"><span>这是一个消息弹窗</span></div>
  <div id="talk" class="modal">
    <div class="modal-content">
        <span class="close" onclick="closeModal()">&times;</span>
        <h2 id="modal-title"></h2>
        <p id="modal-content"></p>
        <button onclick="copyModal()">复制</button>
    </div>
</div>
<div id="acticle"></div>
<input type="text" id="input" p></input>
  <script src="./js/event.js"></script>
  <script src="./js/game.js"></script>
  <script src="./js/copy.js"></script>
  <script src="./js/su.js"></script>
</body>
</html>
